<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
* {
	padding: 0;
	margin: 0;
	font-family: Verdana, helvetica, arial, sans-serif;
	font-size: 13px;
	color: #4B4B4B
}

img {
	border: none
}

#header {
	height: 60px;
	width: auto;
	box-shadow: 0px 3px 3px #ccc
}

.logo {
	float: left
}

.lang {
	text-align: right;
	padding-right: 20px;
	padding-top: 10px
}

.lang li {
	display: inline-block;
	float: right;
	padding: 0 3px
}

#loginform {
	background: url(images/formLogin.png) no-repeat;
	width: 366px;
	height: 249px;
	margin: 180px auto
}

#loginform h3 {
	color: #005A9A;
	padding: 15px 0 10px 50px;
	text-transform: uppercase;
	font-size: 14px
}

.logintext {
	margin: 30px 20px
}

.user {
	margin: 15px;
}

.user p {
	width: 110px;
	float: left;
	line-height: 26px;
	height: 26px
}

.btnlogin {
	margin: 0 40px;
	text-align: right
}

.bsubmit {
	background: url(images/btnLogin.png) no-repeat;
	border: 0 none;
	color: white;
	cursor: pointer;
	height: 29px;
	width: 113px;
	font-weight: bold;
	font-size: 11px
}

.forgot {
	margin: 10px 20px
}

.forgot a {
	color: #236DA4;
	text-decoration: none
}

.forgot a:hover {
	text-decoration: underline
}

.footer {
	background: #f4f4f1;
	height: 40px;
	border-top: 2px solid #216ca3;
	width: auto;
}

.footer p {
	width: 980px;
	margin: 0 auto;
	height: 40px;
	line-height: 40px;
	text-align: center
}

.vn {
	background: url('images/flag_12.gif') center
}

.en {
	background: url('images/flag_10.gif') center
}

.kr {
	background: url('images/flag_14.gif') center
}

.lang input {
	padding-right: 5p;
	width: 24px;
	height: 18px;
	border: none
}
</style>
<link rel="icon" href="images/erp.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/erp.ico" type="image/x-icon" />
<title><?=$title?></title>
<script type="text/javascript">
function onloadlogin(){
	document.getElementById("loginuser").focus();
	document.getElementById("loginuser").select();
}
</script>
</head>
<?
$database = $_SESSION['db'];
include("operations/get_lang.php");
$value = getlang();
include($value);

$rlogo = $_SESSION['Logo'];
?>

<body onload="onloadlogin();">
	<div id="header">
		<div class="logo">

			<a href="#"> <?php if ($rlogo==""){?> <img
				src="images/nophoto.png" alt="" /> <?php }else{?> <img
				src="<?php echo $rlogo?>" alt="" style="height: 60px;"/> <?php }?> </a>
		</div>
		<form action="operations/set_lang.php" method="post">
			<ul class="lang">
				<li><input type="submit" value="" name="bt-en" class="en" /></li>
				<li><input type="submit" value="" name="bt-kr" class="kr" /></li>
				<li><input type="submit" value="" name="bt-vn" class="vn" /></li>
			</ul>
		</form>

	</div>
	<div id="loginform">
	<?include($content);?>
		<div class="forgot">
			<a href=""><?=$l_forgotPassword?> </a>
		</div>
	</div>
	
	<div class="footer">
		<p>2011 Elisoft Company - All rights Reserved</p>
	</div>
</body>
</html>
